home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 2
/
Meeting Pearls Vol. II (1995)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
TurboM2
/
m2
/
Storage.def
< prev
next >
Wrap
Text File
|
1994-12-22
|
403b
|
14 lines
DEFINITION MODULE Storage ;
FROM SYSTEM IMPORT ADDRESS ;
PROCEDURE ALLOCATE( VAR adr : ADDRESS ; size : LONGINT ) ;
(* Allocates and clears size bytes of memory. *)
(* Aborts program execution if the allocation fails *)
PROCEDURE DEALLOCATE( VAR adr : ADDRESS ; size : LONGINT ) ;
(* Aborts if adr = NIL. *)
(* Size argument is ignored ( the entire block is always freed). *)
END Storage.